﻿using Eldn.Wcf.ServiceInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Eldn.Wcf.Client
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var channelFactory = new ChannelFactory<ITestService>("TestService"))
            {
                var testService = channelFactory.CreateChannel();
                Console.WriteLine(testService.SayHi());
                Console.ReadKey();
            }
        }
    }
}
